package dao.security.impl;

import model.security.UsrRole;
import org.springframework.context.ApplicationContext;

import core.dao.impl.BaseDaoImpl;
import dao.security.UsrRoleDao;

public class UsrRoleDAOImpl extends BaseDaoImpl<UsrRole> implements UsrRoleDao  {
	public UsrRoleDAOImpl(){
		super(UsrRole.class);
	}
	
	
	public static UsrRoleDao getFromApplicationContext(ApplicationContext ctx) {
    	return (UsrRoleDao) ctx.getBean("usrRoleDAO");
	}
}